package com.example.algorithm_learning_platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Data
@TableName("teaching_video")
@Getter
@Setter
public class TeachingVideo {
    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;
    
    private Integer typeId;
    private String videoTitle;
    private String videoUrl;
    private String videoDescription;
    private Integer duration;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 